package com.plugin;

import javax.servlet.ServletContextEvent;

import org.nature.framework.plugin.NaturePlugin;

public class MonitorPluginDemo implements NaturePlugin{

	public void start(ServletContextEvent sce) {
		String virtualServerName = sce.getServletContext().getContextPath();
		System.out.println(virtualServerName);
		System.out.println("系统启动了！！");
	}

	public void stop(ServletContextEvent sce) {
		System.out.println("系统注销了！！");
	}

}
